import {getData, postData, putData, deleteData} from '../api'

// 沙箱支付宝支付
export const getAliPay = (params:any) => {
    // 使用GET请求，参数拼接到URL
    return getData(`/alipay/pay?subject=${encodeURIComponent(params.subject)}
        &traceNo=${params.traceNo}&totalAmount=${params.totalAmount}`)
}